<template>
  <div>
  <van-tab :title="title" :name="id"> 
         <span id="sp">
<slot name="nn"></slot>
    </span>
    </van-tab>

  </div>
</template>

<script>

export default {
    props:{
    title:String,
    dex:String,
    id:Number
},
  data () {
    return {
      active: ''
    }
  },
  methods: {

  }
}
</script>

<style scoped>
#sp{
    width: 100%;
    display: flex;
    justify-content: center;
}
</style>
